package com.gec.book.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gec.book.pojo.Book;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gec.book.pojo.resp.BookResp;
import org.apache.ibatis.annotations.Param;

/**
* @author huanling
* @description 针对表【book】的数据库操作Mapper
* @createDate 2024-04-24 20:37:15
* @Entity com.gec.book.pojo.Book
*/
public interface BookMapper extends BaseMapper<Book> {
        IPage<BookResp> findBookAndCategory(IPage<BookResp> page,
                                            @Param("categoryId")Integer categoryId);
}




